﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace bt_toado
{
    class Program
    {
        static void Main(string[] args)
        {
            toado a = new toado();
            toado b = new toado();
            toado c = new toado();

            Console.WriteLine("Nhap Diem A:  ");
            a.Nhap(ref a);
            
            Console.WriteLine();
           
            Console.WriteLine("Nhap Diem B:  ");
            b.Nhap(ref b);
           
            Console.WriteLine();
            
            Console.WriteLine(" Hai Diem Vua Nhap La:  ");
            Console.WriteLine();
         
            Console.Write(" Diem A:  ");
            a.Xuat(a);
            
            Console.WriteLine();
        
            Console.Write(" Diem B:  ");
            b.Xuat(b);
            Console.WriteLine();

            Console.Write("Tong Hai Diem ");
            c = a + b;
            c.Xuat(c);
            Console.WriteLine();

            Console.Write("Hieu Hai Diem ");
            c = a - b;
            c.Xuat(c);
            Console.WriteLine();

            Console.Write("Tich Hai Diem ");
            c = a * b;
            c.Xuat(c);
            Console.WriteLine();
            Console.ReadLine();
            
        }
    }
}
